/* 大庆旅游路线页面专用样式 */
.route-container {
    padding: 20px;
}

.section-title {
    color: #fff;
    font-size: 24px;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #CCFF66;
    display: flex;
    align-items: center;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.section-title i {
    margin-right: 10px;
    color: #CCFF66;
}

/* 行程概览 */
.route-overview {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.route-overview h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #CCFF66;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.route-overview h4 i {
    margin-right: 10px;
    color: #CCFF66;
}

.route-overview p {
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 16px;
    text-align: justify;
}

.route-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    min-width: 120px;
}

.stat-item i {
    font-size: 24px;
    color: #CCFF66;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 每日行程样式 */
.daily-itineraries {
    margin-bottom: 40px;
}

.day-container {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.day-title {
    color: #0d3221;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.day-title span:first-child {
    background-color: #0d3221;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 15px;
    font-weight: bold;
}

.day-desc {
    color: #7f8c8d;
    font-size: 16px;
    font-weight: normal;
}

/* 路线地图样式 */
.route-map {
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}

.route-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0d3221, #c8805a);
}

.attraction-points {
    position: relative;
}

.attraction-point {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.attraction-point:last-child {
    margin-bottom: 0;
}

.attraction-point:hover {
    transform: translateX(5px);
}

.point-marker {
    position: absolute;
    left: -10px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #c8805a;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #c8805a;
    transition: all 0.3s ease;
}

.point-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(200, 128, 90, 0.5);
}

.point-marker.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(200, 128, 90, 0.7);
    }
    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(200, 128, 90, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(200, 128, 90, 0);
    }
}

.point-info h4 {
    color: #0d3221;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.attraction-image {
    width: 100%;
    max-width: 500px;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-image:hover img {
    transform: scale(1.05);
}

.point-info p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* 美食部分样式 */
.food-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.food-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.food-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.food-item:hover img {
    transform: scale(1.05);
}

.food-item h4 {
    color: #0d3221;
    padding: 12px;
    margin: 0;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.food-item p {
    color: #7f8c8d;
    font-size: 14px;
    padding: 0 12px 15px;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* 伪元素应用 */
.food-item::after {
    content: "查看详情";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    background-color: rgba(13, 50, 33, 0.9);
    color: white;
    font-size: 14px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.food-item:hover::after {
    transform: translateY(0);
}

/* 相关景点区域 */
.related-attractions {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.attraction-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.attraction-card:nth-child(odd) {
    border-left: 3px solid #CCFF66;
}

.attraction-card:nth-child(even) {
    border-left: 3px solid #c8805a;
}

.attraction-card figure {
    margin: 0;
    flex: 1;
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover img {
    transform: scale(1.05);
}

.attraction-card figcaption {
    padding: 12px;
    color: white;
    background-color: rgba(13, 50, 33, 0.7);
    text-align: center;
    font-weight: 500;
}

.attraction-details {
    padding: 15px;
    color: #f0f0f0;
    font-size: 14px;
}

.attraction-details summary {
    color: #CCFF66;
    cursor: pointer;
    margin-bottom: 5px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .route-container {
        padding: 10px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .day-container {
        padding: 15px;
    }
    
    .day-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .day-title span:first-child {
        margin-bottom: 8px;
    }
    
    .food-grid, .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .main-menu ul {
        display: none;
        flex-direction: column;
    }
    
    .main-menu ul.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .food-grid, .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .food-grid, .attractions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}